package xuanzhen.dating.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import xuanzhen.dating.dao.DatingMapper;
import xuanzhen.dating.dao.SeeShareMapper;
import xuanzhen.dating.pojo.DatingUser;
import xuanzhen.dating.pojo.SeeShare;
import xuanzhen.dating.service.DatingService;
import xuanzhen.dating.service.SeeShareService;
@Service
public class SeeShareServiceImpl implements SeeShareService {
	@Resource
	DatingMapper datingMapper;
	@Resource
	SeeShareMapper seeShareMapper;
	@Override
	public List<SeeShare> selectAll() throws Exception {
		// TODO Auto-generated method stub
		return seeShareMapper.selectAll();
	}
	@Override
	public void addweShare(String tag) throws Exception {
		
		seeShareMapper.addShareCount(tag);
	}
	

}
